<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<%@ page contentType="text/html; charset=utf-8"%>
<%@page import="cn.org.timespace.easyframe.util.EfResourceContext"%>
<%@ include file="commons/taglibs.jsp" %>

<head>
	
<title>天绎基础平台=>模块切换界面</title>
<%@ include file="commons/css_js_head.jsp" %>
<link href="${ctx }/css/select.css" rel="stylesheet" type="text/css" />

<link rel="Shortcut Icon" href="${ctx}/images/xf.ico" />
<link rel="Bookmark" href="${ctx}/images/xf.ico" />

<base target="_self" />

<script>
function resizeIframe(){
	document.getElementById("divCenterX").style.height = Geometry.getViewportHeight()-(95+9+121+70);
}
</script>	

</head>

<body  onresize="resizeIframe();" >

   <div id="box">
   		
   		<!-- 标题 start -->
      <div class="top_bottom">
       <div class="logo_left"><img src="${ctx }/images/select/logo_left.gif" width="537" height="95" /></div>
       <div class="bg_right">
            <div class="bant_us">
                <div class="bant_top">
                	<a href="AboutTS.jsp?keepThis=true&amp;TB_iframe=true&amp;height=250&amp;width=350&amp;modal=true" class="thickbox">
	                	<span><img src="${ctx }/images/bant_us.png" width="25" height="25" /></span>
	                	<span class="text_1">关于我们</span>
                	</a>
                 </div>
                 <div class="bant_top">
                 	<a href="${ctx }/efLogoffAction.ts">
	                 	<span><img src="${ctx }/images/bant_tb.png" width="25" height="25" /></span>
	                 	<span class="text_1">退出系统</span>
	                 </a>
                 </div>
            </div>
       </div>
     </div>
     <!-- 标题 end -->
	
     <div class="line_x"></div>
    	
    	<script>
			var curWorkOrderIsExist = '${curWorkOrderIsExist}'
			if(curWorkOrderIsExist == 'false'){
				window.showModalDialog('${ctx}/main/repast/CurrWorkingManageBefore.jsp','sel','dialogHeight=380px');
			}
		</script>
    	 
     <div id="divCenterX" class="center_x">
              <table style="width: 100%;height: 100%;text-align: center;vertical-align: middle;">
              	<tr>
              		<td>
              			<c:forEach var="topMenu" items="${topMenuList}" varStatus="var"> 
	          		 	 	<a href="javascript:void(0)" onclick="this.href='${ctx}/efLogonAction!doEnterModel.ts?modelId=${topMenu.menuId}&menuname=${topMenu.menuName }'" class="bant2_x"><img src="${ctx}${topMenu.menuPhotoUrl }" width="68" height="96" title="${topMenu.menuName }" /></a>
		          		</c:forEach>
              		</td>
              	</tr>
              </table>
     </div>
     
     <div class="bottom_bottom">
	     <div class="bottom_x">
	         <div class="bottom1_x"></div>
	     </div>
     </div>
   </div>

<script>
resizeIframe();
</script>

</body>
</html>